#define _CRT_SECURE_NO_WARNINGS 2

#include"BTNode.h"

int main() {
	pBTNode root, node1, node2, node3, node4, node5;
	//datatype a, b, c;
	AddBTNode( &root, 1);
	AddBTNode(&node1, 2);
	AddBTNode(&node2, 3);
	AddBTNode(&node3, 4);
	AddBTNode(&node4, 5);
	AddBTNode(&node5, 6);
	root->left = node1;
	node1->left = node2;
	node2->right = node3;
	root->right = node4;
	node4->right = node5;
	PreOrder(root);
	putchar('\n');
	InOrder(root);
	putchar('\n');
	PastOrder(root);
	return 0;
}